/* SZ3YAN by Sze Yan

   Structure of 5.szeyan_badminton.css
   |
   ├─ 1. badminton intro
   ├─ 2. badminton reg

    /* --------------------------------------------------------------------------
        1. badminton
    -------------------------------------------------------------------------- */

    .badminton__header {
        padding-bottom: 100px;
    }
    
    .badminton__intro {
        padding-top: 5em;
        margin: auto;
        text-align: center;
        color: white;
    }

    .badminton__intro h2:nth-child(3) {
        margin-bottom: 30px;
        color: white;
    }

    .badminton__intro h6 {
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: 200;
        text-transform: uppercase;
        color: var(--blue);
    }

    .badminton__intro h2 {
        font-size: 45px;
        font-weight: 100;
        color: var(--grey);
    }

    .badminton__play {
        display: inline-flex;
        align-items: center;
        padding: 0 18px;
        margin-top: 20px;
        height: 30px;
        font-size: 13px;
        text-transform: uppercase;
        border-radius: 15px;
        background-color: var(--bblack);
        color: white;
        cursor: pointer;
    }

    .badminton__play:hover {
        opacity: 0.5;
    }

    .arrow {
        width: 0.8em;
        animation: move__arrow 3s infinite;
    }

    @keyframes move__arrow {
        0%, 20%, 50%, 80%, 100% {
            transform: translate3d(0px, 0, 0);
        }

        40% {
            transform: translate3d(7px, 0, 0);
        }

        60% {
            transform: translate3d(3px, 0, 0);
        }
    }

    /* --------------------------------------------------------------------------
        2. badminton reg
    -------------------------------------------------------------------------- */

    .badminton__reg {
        display: flex;
        justify-content: space-between;
        padding-bottom: 170px;
        text-align: center;
    }

    .badminton__img {
        width: 417px;
        margin-bottom: 50px;
        border-radius: 18px;
        object-fit: cover;
    }

    .badminton__form {
        width: 500px;
    }

    table {
        width: 100%;
    }
      
    th, td {
        padding: 1em;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }
      
    tr:hover {
        background-color: white;
    }

    @media (max-width: 890px) {
        .badminton__intro h2 {
            font-size: 40px;
        }

        .badminton__reg {
            display: block;
        }

        .badminton__img {
            width: 300px;
        }

        .badminton__form {
            display: flex;
            justify-content: center;
            margin: auto;
            width: 400px;
        }
    }
/*